﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;

namespace NETCORE.IdentityServer4.Service.Controllers
{
    [Route("api/[controller]")]
    [ApiController]

    public class ValuesController : ControllerBase
    {
        [HttpGet]
        [Route("GetValue")]
        [Authorize]
        public IActionResult GetValue() => Ok("test ok!");


        [HttpGet]
        [Route("test")]
        public IActionResult test() => Ok("test test!");
         
    }
}
